package demo.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component 
@ConfigurationProperties(prefix = "my")
public class PropertyBean {
	
	private String strvalue;
	private int intvalue;
	
	
	public String getStrvalue() {
		return strvalue;
	}
    
	public void setStrvalue(String strvalue) {
		this.strvalue = strvalue;
	}
	
	public int getIntvalue() {
		return intvalue;
	}
	public void setIntvalue(int intvalue) {
		this.intvalue = intvalue;
	}
	

}
